package classes
{
	public class SpriteManager
	{
		private static var instance:SpriteManager = new SpriteManager();
		
		[Bindable]
		[Embed('/assets/class/editor01.png')]
		private var class1:Class;
		[Bindable]
		[Embed('/assets/class/necromancer01.png')]
		private var class2:Class;
		[Bindable]
		[Embed('/assets/class/kappa01.png')]
		private var class3:Class;
		[Bindable]
		[Embed('/assets/class/ninetail01.png')]
		private var class4:Class;
		[Bindable]
		[Embed('/assets/class/boy01.png')]
		private var class5:Class;
		[Bindable]
		[Embed('/assets/class/dartvader01.png')]
		private var class6:Class;
		[Bindable]
		[Embed('/assets/class/frankenstein01.png')]
		private var class7:Class;
		
		private var sprites:Array = [null, class1, class2, class3, class4, class5, class6, class7];
		private var clazzNames:Array = ["", "Vampire", "Exorcist"];
		
		public function SpriteManager()
		{
		}
		
		public function getSprite(classId:int):Class {
			return sprites[classId];
		}
		
		public function getClazzName(classId:int):String {
			return clazzNames[classId];
		}
		
		public static function getInstance():SpriteManager {
			return instance;
		}

	}
}